local biz_name = "reset_count"

local function _reset_count_biz()
    return coroutine.create(function ()
        local coroutine_yield = coroutine.yield
        local reply_ok = reply.status_type.ok
        local reply_setStatus = reply.setStatus
        local reply_appendContent = reply.appendContent
        local get_count = util.log_get_business_count
        local reset_count = util.log_reset_business_count
        local reset_log_time = util.log_reset_log_time
        while true do
            reply_appendContent("<html><head><title>Lua_Status</title></head><body>");
            reset_log_time()
            reset_count("zc.1")
            reset_count("zc.2")
            reset_count("adv")
            reset_count("received_zc.1")
            reset_count("processed_zc1")
            reply_appendContent("<h3>")
            reply_appendContent("Reset zc.1,zc.2,adv")
            reply_appendContent("</h3>")	
            
           
            reply_appendContent("</body></html>")
            reply_setStatus(reply_ok)
            coroutine_yield()
        end
    end)
end

creators[biz_name] = function()
    f[biz_name] =  _reset_count_biz()
end
